package com.itheima.wallet.user.pojos;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 432183095092216817L;

    private Long id;    //用户id',
    private String username;//用户名',
    @JsonIgnore
    private String password; //用户密码',
    private String phone;   //用户手机号',
    private Long accountId; //账户id
    private Date createTime; //注册时间

}
